package com.lingnan.feign;

import com.lingnan.entity.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "resume-service", path = "/resume")
public interface ResumeFeignClient {
    @PutMapping("/status")
    Result<Void> updateApplicationStatus(
            @RequestParam("applicationId") Long applicationId,
            @RequestParam("status") Long status);

}
